package com.cowin.inf.service.impl;

import com.cowin.inf.dao.KyBdcRouteLogMapper;
import com.cowin.inf.model.KyBdcRouteLog;
import com.cowin.inf.model.vo.KyBdcRouteLogVo;
import com.cowin.inf.service.KyBdcRouteLogService;
import com.cowin.base.AbstractServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by  on 2019/09/23.
 *
 * @author CodeGenerator
 */
@Slf4j
@Service
@Transactional(rollbackFor = RuntimeException.class)
public class KyBdcRouteLogServiceImpl extends AbstractServiceImpl<KyBdcRouteLog> implements KyBdcRouteLogService {

    @Resource
    private KyBdcRouteLogMapper kyBdcRouteLogMapper;


    @Override
    public List<KyBdcRouteLog> filterRouteLog(KyBdcRouteLogVo kyBdcRouteLogVo) {
        return kyBdcRouteLogMapper.filterRouteLog(kyBdcRouteLogVo);
    }

    @Override
    public List<String> filterPoint(List<String> vins, String point) {
        return kyBdcRouteLogMapper.filterPoint(vins,point);
    }

    @Override
    public int save(KyBdcRouteLog model) {
        return super.save(model);
    }
}
